package com.team.app.dao;

import java.util.Date;
import java.util.List;

import com.team.app.model.Vehicle;
import com.team.app.model.VehicleView;

public interface  VehicleDao {
	public Long create(Vehicle obj);

	public void edit(Vehicle obj);

	public void remove(Vehicle obj);

	public Vehicle find(Object id);

	public List<Vehicle> findAll();

	public List<Vehicle> findRange(int[] range);

	public Long count();
	
	List<Vehicle> findVehicle(Long modelId);

	List<VehicleView> findAllView();
	
	List<VehicleView> findTopCar();
	
	List<VehicleView> findCar(Date pickupDate, Date returnDate, Long cityID, String numberSeat, Long brandID, Long transmissionType );

}
